package middleware.llvm.value;

import java.io.PrintStream;

/**
 * 函数参数的IR
 * @author 杨凯伟
 * @date 2024/10/30
 */
public class FunctionArgumentIRType extends Value {

    public FunctionArgumentIRType(IRType type) {
        super(type);
    }

    @Override
    public String getName() {
        return "%" + super.getName();
    }

    public void dump(PrintStream out) {
        out.printf("%s %s", getType().toString(), getName());
    }
}
